package com.qf.pojo;

public class Cart {
    private Integer cartid;
    private  Integer uid;
    private Integer gid;
    private String gname;
    private float price;
    private Integer num;

    public Cart() {
    }

    public Cart(Integer cartid, Integer uid, Integer gid, String gname, float price, Integer num) {
        this.cartid = cartid;
        this.uid = uid;
        this.gid = gid;
        this.gname = gname;
        this.price = price;
        this.num = num;
    }

    public Integer getCartid() {
        return cartid;
    }

    public void setCartid(Integer cartid) {
        this.cartid = cartid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }
}
